package com.tangkun.environment.entity.xinwen;


import com.tangkun.environment.entity.base.BaseModel;

import java.util.List;

/**
 * Created Time: 2017/3/18.
 * <p>
 * Author:tangkun
 * <p>
 * 功能：咨询列表
 */
public class HealthButleListReturn extends BaseModel {

    public HealthButleList result;

    public static class HealthButleList {
        /**
         * pageIndex : 1
         * pageSize : 20
         * recordCount : 6
         * items : [{"id":10001,"easemobGroupId":"11301235523586","owner":{"id":1,"easemobId":"ckd1","role":0,"headPicture":"string","name":"王正阳"},"patient":{"id":4,"easemobId":"ckd4","role":2,"headPicture":null,"name":"小敏敏2"},"nurse":{"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"},"members":[],"createTime":"2017-03-22 17:48:17","endTime":null},{"id":10002,"easemobGroupId":"11301337235458","owner":{"id":1,"easemobId":"ckd1","role":0,"headPicture":"string","name":"王正阳"},"patient":{"id":4,"easemobId":"ckd4","role":2,"headPicture":null,"name":"小敏敏2"},"nurse":{"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"},"members":[],"createTime":"2017-03-22 17:49:53","endTime":null},{"id":10003,"easemobGroupId":"11302204407809","owner":{"id":1,"easemobId":"ckd1","role":0,"headPicture":"string","name":"王正阳"},"patient":{"id":4,"easemobId":"ckd4","role":2,"headPicture":null,"name":"小敏敏2"},"nurse":{"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"},"members":[],"createTime":"2017-03-22 18:03:40","endTime":null},{"id":10006,"easemobGroupId":"11305525248001","owner":{"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"},"patient":{"id":4,"easemobId":"ckd4","role":2,"headPicture":null,"name":"小敏敏2"},"nurse":{"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"},"members":[{"id":1,"easemobId":"ckd1","role":0,"headPicture":"string","name":"王正阳"}],"createTime":"2017-03-22 18:56:26","endTime":null},{"id":100003,"easemobGroupId":"11381463121924","owner":{"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"},"patient":{"id":11,"easemobId":"ckd11","role":2,"headPicture":null,"name":"小敏敏7"},"nurse":{"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"},"members":[{"id":8,"easemobId":"ckd8","role":1,"headPicture":null,"name":"宋雷1"},{"id":46,"easemobId":"ckd46","role":0,"headPicture":null,"name":"李本"}],"createTime":"2017-03-23 15:03:23","endTime":null},{"id":100004,"easemobGroupId":"11458272362503","owner":{"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"},"patient":{"id":4,"easemobId":"ckd4","role":2,"headPicture":null,"name":"小敏敏2"},"nurse":{"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"},"members":[],"createTime":"2017-03-24 11:24:18","endTime":null}]
         */

        public String pageIndex;
        public String pageSize;
        public String recordCount;
        public List<ItemsBean> items;

        public static class ItemsBean {
            /**
             * id : 10001
             * easemobGroupId : 11301235523586
             * owner : {"id":1,"easemobId":"ckd1","role":0,"headPicture":"string","name":"王正阳"}
             * patient : {"id":4,"easemobId":"ckd4","role":2,"headPicture":null,"name":"小敏敏2"}
             * nurse : {"id":7,"easemobId":"ckd7","role":1,"headPicture":"user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791","name":"宋雷"}
             * members : []
             * createTime : 2017-03-22 17:48:17
             * endTime : null
             */

            public String id;
            public String easemobGroupId;
            public OwnerBean owner;
            public PatientBean patient;
            public NurseBean nurse;
            public String createTime;
            public String endTime;
            public List<MembersBean> members;

            public static class OwnerBean {
                /**
                 * id : 1
                 * easemobId : ckd1
                 * role : 0
                 * headPicture : string
                 * name : 王正阳
                 */

                public String id;
                public String easemobId;
                public int role;
                public String headPicture;
                public String name;
            }

            public static class PatientBean {
                /**
                 * id : 4
                 * easemobId : ckd4
                 * role : 2
                 * headPicture : null
                 * name : 小敏敏2
                 */

                public String id;
                public String easemobId;
                public int role;
                public String headPicture;
                public String name;
            }

            public static class NurseBean {
                /**
                 * id : 7
                 * easemobId : ckd7
                 * role : 1
                 * headPicture : user/header/db8e3923-ed3d-494a-a157-1c0ca861970d.png?v=201703171714229791
                 * name : 宋雷
                 */

                public String id;
                public String easemobId;
                public int role;
                public String headPicture;
                public String name;
            }

            public static class MembersBean {
                /**
                 * id : 46
                 * easemobId : ckd46
                 * role : 0
                 * headPicture : null
                 * name : 李本
                 */

                public int id;
                public String easemobId;
                public int role;
                public String headPicture;
                public String name;
            }


        }
    }
}
